#!/bin/bash

#for arch in armeabi armeabi-v7a armeabi-v7a-hard arm64-v8a mips mips64 x86 x86_64
for arch in armeabi armeabi-v7a arm64-v8a x86 x86_64
do
    bash build_libevent.sh $arch
	make clean

    #去掉soname里面的带有版本号的
        #disable libevent soname, libevent-2.1.so
        sed -i '/GENERIC_LDFLAGS = -version-info $(VERSION_INFO) $(RELEASE) $(NO_UNDEFINED)/d' Makefile

        
    make -j8
    make install
done

